home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ttttoooouuuucccchhhh((((1111)))) ttttoooouuuucccchhhh((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- _tttt_oooo_uuuu_cccc_hhhh - update access and modification times of a file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _tttt_oooo_uuuu_cccc_hhhh [ _----_aaaa_mmmm_cccc ] [ _m_m_d_d_h_h_m_m[_y_y] ] _f_i_l_e_s
-
- _tttt_oooo_uuuu_cccc_hhhh [ _----_aaaa_mmmm_cccc ] [ _----_rrrr _r_e_f__f_i_l_e | _----_tttt [[_c_c]_y_y]_m_m_d_d_h_h_m_m[._s_s] ] _f_i_l_e_s
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _tttt_oooo_uuuu_cccc_hhhh causes the access and modification times of each argument to be
- updated. The file name is created if it does not exist. If no time is
- specified [see _dddd_aaaa_tttt_eeee(1)] the current time is used. The _----_aaaa and _----_mmmm options
- cause touch to update only the access or modification times respectively
- (default is _----_aaaa_mmmm). The _----_cccc option silently prevents _tttt_oooo_uuuu_cccc_hhhh from creating
- the file if it did not previously exist. The _----_rrrr option causes touch to
- use the modification time of the file named by the pathname _r_e_f__f_i_l_e
- instead of of the current time.
-
- The _----_tttt [[_c_c]_y_y]_m_m_d_d_h_h_m_m[._s_s] option specifies to the time to use instead
- of the current time. The option-argument will be a decimal number where
- each two digits represents the following:
-
-
- _m_m The month of the year [01-12].
-
- _d_d The day of the month [01-31].
-
- _h_h The hour of the day [00-23].
-
- _m_m The minute of the hour [00-59].
-
- _c_c The first two digits of the year (century).
-
- _y_y The second two digits of the year.
-
- _s_s The second of the minute [00-61].
-
- Both _c_c and _y_y are optional. If neither is given, the current year
- will be assumed. If _y_y is specified, but _c_c is not, _c_c will be
- derived as follows:
-
- If _y_y _i_s: _6_9-_9_9 then _c_c becomes _1_9.
-
- If _y_y _i_s: _0_0-_6_8 then _c_c becomes _2_0.
-
- The range for _s_s is (00-61) rather than (00-59) because of leap
- seconds. If _s_s is 60 or 61, and the resulting time, as affected by
- the _T_Z environment variable, does not refer to a leap second, the
- resulting time will be one or two seconds after a time where _s_s is
- 59. If _s_s is not given a value, it is assumed to be zero.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ttttoooouuuucccchhhh((((1111)))) ttttoooouuuucccchhhh((((1111))))
-
-
-
- The return code from _tttt_oooo_uuuu_cccc_hhhh is the number of files for which the times
- could not be successfully modified (including files that did not exist
- and were not created).
-
- FFFFIIIILLLLEEEESSSS
- _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee_...._aaaa_bbbb_iiii
- language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn (5).]
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _dddd_aaaa_tttt_eeee(1), _uuuu_tttt_iiii_mmmm_eeee(2)
-
- NNNNOOOOTTTTEEEESSSS
- Users familiar with the BSD environment will find that the _----_ffff option is
- accepted, but ignored. The _----_ffff option is unnecessary since _tttt_oooo_uuuu_cccc_hhhh will
- succeed for all files owned by the user regardless of the permissions on
- the files.
-
- If no _----_rrrr option is specified, no _----_tttt option is specified, at least two
- operands are specified, and the first operand is an eight- or ten-digit
- decimal integer, the first operand will be assumed to be a date-time
- specification of the form mmddhhmm[yy]. Otherwise, the first operand
- will be assumed to be a file name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-